Automattic\Jetpack\My_Jetpack\Products\Jetpack_Ai A

Total Complexity 56
Dependencies 4
Dependents 1
Total lines 393
Lines of code 186
Logical lines of code 87
Comment lines 145
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
get_pricing_for_ui_by_usage_tier()
A
47 12 35
has_required_plan()
A
55 8 20
get_ai_assistant_feature()
S
56 6 19
get_current_usage_tier()
S
62 4 11
get_next_usage_tier()
S
62 4 11
is_upgradable()
S
66 4 8
get_features_by_usage_tier()
S
55 2 21
get_long_description_by_usage_tier()
S
65 2 8
get_info()
S
72 1 5
get_wpcom_product_slug()
S
81 1 3
get_manage_url()
S
81 1 3
get_wpcom_bi_yearly_product_slug()
S
81 1 3
get_wpcom_monthly_product_slug()
S
81 1 3
get_features()
S
76 1 4
get_pricing_for_ui()
S
65 1 10
get_plugin_slug()
S
80 1 3
get_long_description()
S
76 1 4
get_description()
S
79 1 3
get_title()
S
79 1 3
get_name()
S
79 1 3
get_plugin_filename()
S
80 1 3
is_site_connected()
S
80 1 3